]> dgit.raspbian.org Git - gnome-shell.git/commit
[perf] Add glx.swapComplete event
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 24 May 2010 13:52:25 +0000 (09:52 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 26 May 2010 19:37:27 +0000 (15:37 -0400)
commit0eeb62794d3f5b138fa87d1d52dd686f960210b3
tree31a0caf3e39ecb3cc5de2562e254aa2ea4802f5d
parent07cfb8d524c47e03d3196ddaac8cb4dc2fbfd61e
[perf] Add glx.swapComplete event

Add an event when we receive an event on buffer swap completion; we'll
only get this if Clutter is using the INTEL_swap_event GLX extension,
but it's useful to see the actual timing of video frames.

The recorded event includes the actual timestamp of the swap, since
we are given that in the GLX event - on my system it tends to be
consistently 80-100us before we log the event, but if something was
going wrong in event handling (too much synchronous work), then that
could could show up as a longer delay.

https://bugzilla.gnome.org/show_bug.cgi?id=619516
src/gnome-shell-plugin.c